<script>
export default {
	onLaunch: function() {
		console.log('App Launch')
		uni.getStorage({
			key:"token",
			fail(err) {
				uni.setStorage({
					key:"token",
					data:-1
				})
			}
		})
		uni.getStorage({
			key:"typeHome",
			fail(err) {
				uni.setStorage({
					key:"typeHome",
					data:-1
				})
			}
		})
		
	},
	onShow: function() {
		console.log('App Show');
	},
	onHide: function() {
		console.log('App Hide');
	}
};
</script>

<style>
@import "./my.css";
/* 解决头条小程序组件内引入字体不生效的问题 */
/* #ifdef MP-TOUTIAO */
@font-face {
	font-family: uniicons;
	src: url('/static/uni.ttf');
}
/* #endif */
page{
	background-color: #FFFFFF;
}
</style>
